package cn.assumejson.springframework.context.context.annotation;

/**
 * 注解配置注册顶层接口
 *
 * @author Mr. Li
 * @version 1.0
 * @since 1.0 2021/12/4 18:08
 */
public interface AnnotationConfigRegistry {

    /**
     * Register one or more annotated classes to be processed.
     * <p>Calls to {@code register} are idempotent; adding the same
     * annotated class more than once has no additional effect.
     */
    void register(Class<?>... annotatedClasses);

    /**
     * Perform a scan within the specified base packages.
     *
     * @param basePackages the packages to check for annotated classes
     */
    void scan(String... basePackages);
}
